package ai.people.netmon.msgsearch.service;

import ai.people.netmon.framework.domain.social.user.SocialAccountSearchReqVO;
import ai.people.netmon.framework.domain.social.user.SocialAccountSearchRespListVO;
import ai.people.netmon.framework.model.response.PageResponse;
import ai.people.netmon.msgsearch.domain.entity.SocialUser;

/**
 * @author LiGuanNan
 * @date 2022/6/24 10:09
 */
public interface ISocialUserEsSearchService {

    /**
     * 分页查询
     *
     * @param reqParam 要求参数
     * @return {@link PageResponse}<{@link SocialAccountSearchRespListVO}>
     */
    PageResponse<SocialUser> queryPage(SocialAccountSearchReqVO reqParam);

    /**
     * 账号详情
     *
     * @param id     id
     * @param source 源
     * @return {@link SocialUser}
     */
    SocialUser detail(String id, String source);
}
